.tech-card {
  width: 300px;
  height: 350px;
  // background-color: red;
  padding: 0 10px;
  float: left;
  margin-bottom: 10px;
  .tech-box {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
    background: #ccc;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 1px 1px 2px rgba(0,0,0,.2);
    .tech-card-top {
      width: 100%;
      height: 36px;
      position: absolute;
      background-color: #fff;
      top: -36px;
      transition: all 0.5s;
      z-index: 9;
      display: flex;
      align-items: center;
      padding: 0 20px;
      i {
        margin: 0 5px;
      }
    }
    .tech-card-body {
      width: 100%;
      height: 100%;
    }
    .tech-card-foot {
      width: 100%;
      height: 120px;
      position: absolute;
      bottom: -80px;
      background-color: #fff;
      transition: all 0.5s;
      padding: 0 20px;
      box-shadow: 0 0 5px #ccc;
      h3 {
        width: 100%;
        height: 40px;
        color: #000;
        line-height: 40px;
        font-weight: normal;
      }
      p{
        height: 64px;
        line-height: 16px;
        font-size: 12px;
        color: #888;
        overflow: hidden;
      }
    }
    &:hover {
      .tech-card-top {
        top: 0;
      }
      .tech-card-foot {
        bottom: 0;
        // transform: translateY(-120px);
      }
      .tech-card-body {
        transform: translateY(-10px);
        transition: all 0.1s;
      }
    }
  }
}